﻿
using HiSport.Core.Entity.HiSportEntity.Bas;
using HiSport.Core.Util;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HiSport.Application.HiSportService.Bas.BasRuleManagement.BillingRules.Dtos
{

    /// <summary>
    /// 场地计费规则分页Dto
    /// </summary>
    public class SiteBillingRulePageDto : BasePageInput
    {
        /// <summary>
        /// 场地类型ID
        /// </summary>
        public long SiteId { get; set; }

        public StatusEnum? Status { get; set; }
    }

    /// <summary>
    /// 场地计费规则Dto
    /// </summary>
    public class SiteBillingRuleDto: BasSiteBillingRule
    {
        /// <summary>
        /// 规则名称
        /// </summary>
        public string BillingRuleName { get; set; }

        
        public string SiteName { get; set; }

    }

    /// <summary>
    /// 编辑启用场地计费规则Dto
    /// </summary>
    public class EditSiteBillingRuleDto
    {
        /// <summary>
        /// 场地ID
        /// </summary>
        public List<long> SiteIds { get; set; }

        public List<DayOfWeek> Weeks { get; set; }

        public long BillingRuleId { get; set; }

        public int Sort { get; set; }


    }

    /// <summary>
    /// 启用/禁用 场地计费规则
    /// </summary>
    public class EnableDisableSiteBillingRuleDto
    {
        public long SiteBillingRuleId { get; set; }

        public StatusEnum Status { get; set; }
    }
}
